package cn.anquing.principle.liskovSubstitutionPrinciple.demo3;

import java.util.Collection;
import java.util.Map;

public class Father2 {

    public Collection doSomething(Map map){
        System.out.println("Map 转Collection被执行");
        return map.values();
    }
}
